package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.Leave;
import cn.wolfcode.car.business.domain.Leave;
import cn.wolfcode.car.business.query.LeaveQuery;

import java.util.List;

public interface LeaveMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Leave record);

    Leave selectByPrimaryKey(Long id);

    List<Leave> selectAll();

    int updateByPrimaryKey(Leave record);

    // 高级查询
    List<Leave> selectForList(LeaveQuery qo);
}